package org.applicationflow.example


import command.Command

/**
 * 
 * 
 * @author Hans Haggstrom
 */

object TextEditorExample {

  def main(args: Array[String]) {

    val textEditor = new Application( "Example Texteditor" )

    // Add document factory, with parameter info

    // Add set of default templates for document creation

    // Add UI for editor

    // Add commands for various styles etc
    textEditor.addCommand( new Command( 'bold, "Toggle Bold Text",  ) )

    // Add toolbar buttons & menus

    // Add import and export formats

    textEditor.start
    
  }


}